
local function main()
    print("ESP32 Welcome!")
    local ihome = require("ihome")
    local inc = ihome.new().start() 
end

local _G_TRACEBACK = function(msg)
    local err_tip = string.format("LUA ERROR:%s\n%s", tostring(msg), debug.traceback())
    print(err_tip)
end

xpcall(main, _G_TRACEBACK)
print("==================Done!===================")